package com.risk.ctrl.credit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.risk.ctrl.credit.entity.RcpMerchantApiRela;
import com.risk.ctrl.entity.dto.RcpMerchantDTO;

/**
 * @Description: 限流表
 * @Author: jeecg-boot
 * @Date:   2025-10-05
 * @Version: V1.0
 */
public interface IRcpMerchantApiRelaService extends IService<RcpMerchantApiRela> {

    /**
     * 验证请求
     * @param rcpMerchantDTO
     */
    void validate(RcpMerchantDTO rcpMerchantDTO);

    /**
     * 更新请求次数
     * @param rcpMerchantDTO
     */
    void updateReqNum(RcpMerchantDTO rcpMerchantDTO);
}
